package cc.rengu.redp.bizimpl.igas.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author 刘玉亮.LL
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("T_R_RULE_CFG")
@ApiModel(value = "RRuleCfg对象", description = "")
public class RRuleCfg implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "机构标识")
    @TableField("INST_ID")
    private String instId;

    @ApiModelProperty(value = "渠道标识")
    @TableField("SRC_CHANNEL_ID")
    private String srcChannelId;

    @ApiModelProperty(value = "渠道类型")
    @TableField("SRC_CHANNEL_TYPE")
    private String srcChannelType;

    @ApiModelProperty(value = "交易渠道标识")
    @TableField("TRANS_CHANNEL_ID")
    private String transChannelId;

    @ApiModelProperty(value = "交易分组")
    @TableField("TXN_GROUP")
    private String txnGroup;

    @ApiModelProperty(value = "规则ID")
    @TableField("RULE_ID")
    @TableId(type= IdType.ASSIGN_ID)
    private Integer ruleId;

    @ApiModelProperty(value = "规则类型")
    @TableField("RULE_TYPE")
    private String ruleType;

    @ApiModelProperty(value = "规则描述")
    @TableField("RULE_DESC")
    private String ruleDesc;

    @ApiModelProperty(value = "规则状态")
    @TableField("RULE_STATUS")
    private String ruleStatus;

    @ApiModelProperty(value = "审核状态")
    @TableField("AUDIT_STATUS")
    private String auditStatus;

    @ApiModelProperty(value = "停用原因")
    @TableField("RECORD_STOP_REASON")
    private String recordStopReason;

    @ApiModelProperty(value = "审核拒绝原因")
    @TableField("AUDIT_REFUSE_REASON")
    private String auditRefuseReason;

    @ApiModelProperty(value = "创建人")
    @TableField("OPR_ID")
    private String oprId;

    @ApiModelProperty(value = "创建时间")
    @TableField("CREATE_TIME")
    private String createTime;

    @ApiModelProperty(value = "最后修改人")
    @TableField("LAST_OPR_ID")
    private String lastOprId;

    @ApiModelProperty(value = "最后修改时间")
    @TableField("LAST_UPDATE_TIME")
    private String lastUpdateTime;

    @ApiModelProperty(value = "最后审核人")
    @TableField("LAST_AUDIT_ID")
    private String lastAuditId;

    @ApiModelProperty(value = "最后审核时间")
    @TableField("LAST_AUDIT_TIME")
    private String lastAuditTime;

    @ApiModelProperty(value = "备用字段1")
    @TableField("REMARK1")
    private String remark1;

    @ApiModelProperty(value = "备用字段2")
    @TableField("REMARK2")
    private String remark2;

    @ApiModelProperty(value = "备用字段3")
    @TableField("REMARK3")
    private String remark3;


}
